<!DOCTYPE html>
<html style="width:100%;height:100%;">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        html,
        body {
            overflow: hidden;
            height: 100%;
            width: 100%;
            padding: 0;
            margin: 0;
            padding: 10px;
            box-sizing: border-box;
        }
        .changeLog{
            flex: 1 1 100%;
            margin-top: 15px;
        }
    </style>
    <title>update</title>
    <meta name="description">
</head>

<body style="font-family: Microsoft Yahei;background-color: #ffffff;">
    <div style="margin: 0 auto;display: flex; flex-direction: column;height: 100%;">
        <div style="width: 100%;text-align: center;font-size: 1.5rem;">
            <span>发现新版本</span>
        </div>
        <div class="changeLog">
            <iframe frameborder="0" width="100%" height="100%" src="./changelog.html" scrolling="no"></iframe>
        </div>
        <div style="font-size: 1rem;background:#ff8225;color: white; text-align: center;padding:16px;padding: 8px; margin: 8px 0;" onclick="goInstall()">立即更新</div>
        <div style="font-size: 1rem;color:#ff8225;text-align: center;padding: 8px;border: 1px solid #ff8225;" onclick="goAppIndex()">下次更新</div>
    </div>

    <script>
        function goInstall() {
            location.href = './install.html';
        }
        function goAppIndex() {
            // localStorage.setItem("updateNextTime", true);
            location.href = './../index.html';
        }
    </script>

</body>

</html>